<%--
  Created by IntelliJ IDEA.
  User: panbo
  Date: 2017/7/26
  Time: 15:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>在线文档管理系统</title>
</head>
<!--<style>-->
<!--html,body{-->
<!--width: 100%;-->
<!--height: 100%;-->
<!--}-->
<!--</style>-->
<script type="text/javascript">
    function numChange() {
        var obj = document.getElementById("select1");
        var num = obj.options[obj.selectedIndex].value;
        if(num == 3){
            window.location.href="/docManagement/gotoer/exit";
        }
    }
</script>
<body>
<div style="width: 100%;height: 25px;background-color: #27a1ff">
    <form>
    <table >
        <tr >
            <td align="left">
                <button onclick="javascrtpt:window.location.href='/docManagement/gotoer/file';return false" style="border:0;background-color: transparent;color: white;font-family: '微软雅黑 Light'">文档管理</button>
                <button  style="border:0;background-color:#1f6bf3;color: white;font-family: '微软雅黑 Light'">系统管理</button>
                &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp; &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
                <select onchange="numChange();return false"id="select1" style="align:right;background-color: transparent;border: 0;">
                    <option value="1"><%--<%= session.getAttribute("username").toString()%>--%>
                        <%--${user.username}--%>
                        <%=session.getAttribute("username").toString()%></option>
                    <option value="2">修改密码</option>
                    <option value="3">注销</option>
                </select>
            </td>
        </tr>
    </table>
    </form>
</div>
<div>
    <div style="background-color: white;width:15%;height:1000px;float: left">
        <form>
            <table style="width: 100%">
                <tr><h3 style="font-family:'微软雅黑 Light';color: #2356ff">文档管理系统</h3></tr>
                <tr style="height: 35px"></tr>
                <tr><td style="font-family:'微软雅黑 Light';color: #3dbcff">用户及权限管理</td></tr>
                <tr style="height: 15px"></tr>
                <tr ><td style="font-size: small">&emsp;<button onclick="window.location.href='/docManagement/gotoer/usermag';return false" style="background-color: transparent;border: 0;">用户管理</button></td></tr>
                <tr style="height: 10px"></tr>
                <tr><td style="font-size: small">&emsp;<button style="background-color: transparent;border: 0;">角色管理</button></td></tr>
                <tr style="height: 15px"></tr>
                <tr><td style="font-family:'微软雅黑 Light';color: #3dbcff">系统配置</td></tr>
                <tr style="height: 15px"></tr>
                <tr ><td style="font-size: small">&emsp;<button style="background-color: transparent;border: 0;">安全配置</button></td></tr>
                <tr style="height: 15px"></tr>
                <tr><td style="font-family:'微软雅黑 Light';color: #3dbcff">日志管理</td></tr>
                <tr style="height: 15px"></tr>
                <tr ><td style="font-size: small">&emsp;<button onclick="window.location.href='/docManagement/log/logList';return false" style="background-color: transparent;border: 0;">操作日志管理</button></td></tr>
            </table>
        </form>
    </div>

    <div style="background-color: #ebf7d5;width:85%;height: 1000px;float: right">
        <div>
            <p style="font-family:'微软雅黑 Light'">系统管理</p>
            <p>
                <!--<input type=text style="width: 300px">-->
                <!--<input id="btnSubmit" type="button" value="搜索" title="search" />-->
                <input id="inputSearch" results="s" type="search" title="请输入关键字"style="width: 500px ">
                <button style="border: 0;background-color: #ffe211;color: white" >搜索</button>&emsp;
                <button onclick="window.location.href='/docManagement/log/deleteall';return false"; style="border: 0;background-color: #ffe211;color: white">删除全部</button>
            </p>
        </div>
        <div>
            <table  border="0" style="background-color: #d1f8f5;font-family: 微软雅黑">
                <tr style="background-color: #c8c8c8;width: 100%">
                    <td><label><input type="checkbox" id="check" ></label></td>
                    <td style="color: white;text-align: center;width: 150px">文档名称</td>
                    <td style="color: white;text-align: center;width: 300px">创建时间</td>
                    <td style="color: white;text-align: center;width: 300px">修改时间</td>
                    <td style="color: white;text-align: center;width: 300px">操作</td>
                </tr>
            </table>
        </div>
    </div>

</div>
</body>
</html>
